//
// Created by root on 10/3/17.
//

#ifndef FUNNY_SCHEME_LOGGER_H
#define FUNNY_SCHEME_LOGGER_H

#define FILE_MAX_SIZE     (1024*1024)
#define DEFAULT_LOG_FILE  "funny_scheme.log"

void write_log_file(char* filename, long max_size, char* buffer, unsigned buf_size);
void write_log1(char* module, char* msg1);
void write_log2(char* module, char* msg1, char* msg2);
void write_log3(char* module, char* msg1, char* msg2, char* msg3);
void write_log4(char* module, char* msg1, char* msg2, char* msg3, char* msg4);

#endif //FUNNY_SCHEME_LOGGER_H
